___
Visitors are friends and enemies that randomly visit your village and do not count towards the population.  They have unique spawning mechanics. 
___
![](n.png)
The Necromancer.
___
SPAWNING

As your village grows in size, they'll begin to be visited by Necromancers. The power level of these Necromancers are directly related to the population of your village.

The Necromancer can spawn at any time, day or night; spawning at night is 2% more likely.

Every 3 minutes (3600 game ticks) there is a chance for the Necromancer to spawn near your village. The chance formula is the number of villagers you have divided by 10 (add an additional 2 at night).

If your village has 20 villagers, the chance will be:

20 / 10 = 2%, or 20 / 10 + 2 = 4% at night.

ABILITIES
The necromancer can perform the following abilities; however, if a villager dies, existing necromancers near the village will no longer perform any of his abilities.

Summon Undead
The Necromancer uses dark magical forces to control undead mobs he encounters. He also has the ability to summon in additional undead mobs, zombies at night and husks during the day.

Summoned and controlled mobs will lose their normal AI and walk ahead of the Necromancer, clearing the path.

The Necromancer will stop summoning zombies when there are 2 times his level worth within 30 meters.


Pic courtesy of DocNox1408

Soul Link
The Necromancer's Soul Link ability targets animals and minions.  This ranged attack shoots out dark energy that rebounds and returns with a skull linked to that mob.  The skulls orbit the Necromancer, providing him protection.  Any damage taken after a Soul Link is absorbed by the skull; each skull offers an additional 25 health absorption!

Any Soul Linked creature has their health dropped to half.  Killing the linked mob causes the linked skull protecting the necromancer to vanish. 

When a Necromancer dies, any summoned or controlled minions will vanish, but any animals that were Soul Linked will not.

Withering Circle
The Necromancer can target a player and summon a circle of withering energy filled with swirling magic and the Necromancer's signature purple skulls. The circle continues to grow over several seconds, quickly expanding to take up more area. Any player standing in this area will receive the wither effect.


POWER LEVELS
The necromancer spawns in at different power levels.  Each level has a different colored cowl on his robe. A necromancer's level determines: 

The number of summoned and controlled minions  
The number of Soul Links maintained at one time 
The frequency and duration of abilities
The number of emeralds dropped 
Currently, the number of emeralds dropped on death is quadruple the amount of the Necromancer's power level.  So fighting a level 5 necromancer yields 20 emeralds. This may change in the future.

DEACTIVATION

Before your village Guards challenge the necromancer, it might be a good idea to give them some time to train.  

Rotating the Town Hall marker will prevent the Necromancer from visiting your village until you deem it is ready.

ENEMIES
In addition to guards, Iron and Snow golems will attack the Necromancer.

___
![](no.png)
Nomads are visitors to your Village. They come to see the progress you have made and you can determine if they become a resident.
___
SPAWNING
Nomads will spawn at the edge of TekTopia's custom pathfinding system. Every village will attempt to spawn one pack of Nomads per day, usually in the morning.

If you have less than two Villagers a pack of Nomads will always spawn.

Otherwise you have a 1/sqrt(villagers) chance to spawn a pack of Nomads. (example: if you have 4 villagers you have a 50% chance, if you have 9 villagers you have a 33% chance that Nomads will spawn)

If a pack of Nomads successfully spawns there will always be at least one. An additional Nomad will spawn if you have less than two Villagers. After that it is an ongoing 50% chance to spawn one additional Nomad.

You can read more about Nomad spawning on the Spawning Mechanics page.
___
![](m.png)
The Merchant will visit your village every day to offer Emeralds in trade for your hard earned wares. He will offer trades that are based on what your village can produce. The trades change every day, so a well diversified village is key to maximizing your emerald stores.
___
BEHAVIOR
The Merchant, like Nomads, spawns on the edges of the TekTopia custom path finding system. A clear path into your village is required for the Merchant to reach your Town Hall. If the Merchant can not find his way into your town you will receive an error message letting you know.

If you have a Market Stall in town, the merchant will hang around the stall.  If not, the Merchant will randomly wander around your village.

TRADES
The merchant will randomize trades each day. A merchant visiting a Merchant Stall will have two extra random trades generated for that day (if possible).

The chart below summarizes the possible trades.

Amount is the quantity of items the merchant requires; Base Value is the starting price of a new economy.

Appearance weight sums the weight numbers from all trades, then chooses a random number from one to the total sum. Each of those weights determines how likely that item is to appear, relative to the other possible trades.

Required Profession is the profession required in the village before the trade appears.

The more you trade with your merchant, the more the prices will change. Trading one item will lower its value and increase the value of other items. The merchant economy tracks the last 30 items sold.

Once per day, the merchant will offer 1 quality food sale to small villages.
![](trades.png)